package she

trait HttpResponse {
  
  def responseCode: Int
  def headers: Map[String, String]
  
  def send: Unit = {
    
  }
  
  def persist: Boolean
  
}

trait ServerError extends HttpResponse

case class InternalServerError extends ServerError {
  val responseCode = 500
  def headers = Map()
  val persist = false
}